home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-26 | 916 b | 26 lines | [TEXT/GEOL] |
- Item forwarded by BOWMAN to TRAMMEL1
-
- Item 8956971 26-Oct-89 06:46
-
- From: MID France, M.I.D.
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: TApplication.Close problem
-
- There is a problem with the TApplication.Close method if the application has
- created any "NOT ClosableByUser" window while running.
-
- TApplication.Close method repeatedly calls TApplication.CloseWMgrWindow while a
- FrontWindow exists. If the FrontWindow is a TWindow which can't be closed with
- the CloseByUser method (a "noGoAwayBox" window for example), the
- TApplication.Close method will enter in an infinite loop.
-
- To avoid this problem, application must keep a reference to all "NOT
- ClosableByUser" windows it has created and then, in its Close OVERRIDE, it will
- dispose these windows before calling the INHERITED Close method.
-
- Etienne Vautherin
-
-
-